package model;

public class Seance {
	private int idSeance;
	private int idGroupe;
	private int type;
	private int debut;
	private int fin;
	private int jour;
	private int duree;
	private String sigle;
	private int noGroupe;
	
	public String getSigle() {
		return sigle;
	}
	public void setSigle(String sigle) {
		this.sigle = sigle;
	}
	public int getDuree() {
		return duree;
	}
	public void setDuree(int duree) {
		this.duree = duree;
	}
	public int getJour() {
		return jour;
	}
	public String getJourChar() {
		
		String jourChar = new String(); 
		
		switch (jour) {
			
			case 1 : jourChar = "lu";
			break;
			case 2 : jourChar = "ma";
			break;
			case 3 : jourChar = "me";
			break;
			case 4 : jourChar = "je";
			break;
			case 5 : jourChar = "ve";
			break;
			case 6 : jourChar = "sa";
			break;
		}
		return jourChar;
	}
	public void setJour(int jour) {
		this.jour = jour;
	}
	public int getIdSeance() {
		return idSeance;
	}
	public void setIdSeance(int idSeance) {
		this.idSeance = idSeance;
	}
	public int getIdGroupe() {
		return idGroupe;
	}
	public void setIdGroupe(int idGroupe) {
		this.idGroupe = idGroupe;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getDebut() {
		return debut;
	}
	public void setDebut(int debut) {
		this.debut = debut;
	}
	public int getFin() {
		return fin;
	}
	public void setFin(int fin) {
		this.fin = fin;
	}
	public void setNoGroupe(int noGroupe) {
		this.noGroupe = noGroupe;
	}
	public int getNoGroupe() {
		return noGroupe;
	}
}
